package com.muyi.biling.biz;

import android.app.Activity;

import com.github.lzyzsd.jsbridge.BridgeHandler;
import com.github.lzyzsd.jsbridge.BridgeWebView;
import com.github.lzyzsd.jsbridge.CallBackFunction;

/**
 * Created by developer on 18-2-7.
 */

public class JsBridgeHelper {

    private BridgeWebView mWebView;
    private Activity mActivity;

    public JsBridgeHelper(BridgeWebView webView, Activity activity) {
        mWebView = webView;
        mActivity = activity;

        init();
    }

    private void init() {
//        mWebView.registerHandler();
//        mWebView.registerHandler();
//        mWebView.registerHandler();
    }

    private BridgeHandler mPrintChartHandler = new BridgeHandler() {
        @Override
        public void handler(String data, CallBackFunction function) {

        }
    };

    private BridgeHandler mPrintQRCodeHandler = new BridgeHandler() {
        @Override
        public void handler(String data, CallBackFunction function) {

        }
    };

    private BridgeHandler mScanQRCodeHandler = new BridgeHandler() {
        @Override
        public void handler(String data, CallBackFunction function) {

        }
    };       

}
